package org.iscas.tcse.datasample;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SamplerConf {

    private static final Logger LOG = LoggerFactory.getLogger(SamplerConf.class);
    public final double lowerBound;
    public final String redisHost;
    public final int redisPort;

    public final double alpha;

    public final String sourceSpeedKey;
    public final String mlSpeedKey;

    public final String sampleRatioKey;

    public final int syncInterval;

    public SamplerConf(
            String redisHost,
            int redisPort,
            double lowerBound,
            double alpha,
            int syncInterval,
            String sourceSpeedKey,
            String mlSpeedKey,
            String sampleRatioKey) {

        this.redisHost = redisHost;
        this.redisPort = redisPort;
        this.lowerBound = lowerBound;
        this.alpha = alpha;
        this.syncInterval = syncInterval;
        this.sourceSpeedKey = sourceSpeedKey;
        this.mlSpeedKey = mlSpeedKey;
        this.sampleRatioKey = sampleRatioKey;
    }
}
